import java.util.Random;
import java.util.Scanner;

public class Demo6 {
    public static void main(String[] args){
        //猜数字游戏
        Random randon=new Random();
        Scanner scanner=new Scanner(System.in);
        int toguess=randon.nextInt(100);
       //int t=scanner.nextInt();
        //和break一起使用
        while(true){
            int t=scanner.nextInt();
            if(t<toguess){
                System.out.println("猜小了");
            }else if(t>toguess){
                System.out.println("猜大了");
            }else{
                System.out.println("猜对了");
                break;
            }
        }
        scanner.close();

    }
}
